/**
 * Sample React Native App
 * https://github.com/facebook/react-native
 * @flow
 */

import React, {
  Component,
} from 'react';
import { Platform } from 'react-native';
import {
  SafeAreaView,
  StackNavigator,
  TabNavigator
} from 'react-navigation';
import router from './router';
const AppNavigator = StackNavigator({
  ...router
}, {
    initialRouteName: 'Home',
    headerMode: 'none',
    // mode: Platform.OS === 'ios' ? 'modal' : 'card',
  });
export default () => <AppNavigator />
